package com.cskt.beyondplatform.service.impl;

import com.cskt.beyondplatform.mapper.AppCategoryMapper;
import com.cskt.beyondplatform.pojo.AppCategory;
import com.cskt.beyondplatform.service.CategoryService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 **/
@Service
public class CategoryServiceImpl implements CategoryService {
    
    @Resource
    private AppCategoryMapper appCategoryMapper;

    @Override
    public List<AppCategory> getCategoryByParentId(Long parentId) {
        return appCategoryMapper.selectAppCategoryByParentId(parentId);
    }
    
}
